{% extends "base.html" %}

{% block title %}Pharm - Login{% endblock title %}

{% block content %}
<h1>Login</h1>

{% if error_msg %}
<p>{{ error_msg }}</p>
{% endif %}

<form method="post" action="/login/">
    {% csrf_token %}
    <ul>
        {{ form.as_ul }}
    </ul>
    <input type="submit" value="Login" />
</form>
{% endblock content %}
